package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.LabelType;
import com.study.manage.domain.enumm.LiveDieState;

@Entity
@Table(name = "sa_label")
public class Label extends AbstractEntity {

    private static final long serialVersionUID = 5535409481110171726L;

    public String name;

    public String description;

    public LiveDieState state;

    public String url;

    @Column(name = "typee")
    public LabelType type = LabelType.NR;// 0 内容 1考级

    public Label() {}

    public Label(Long id) {
        this.id = id;
    }
}
